var exec = require('cordova/exec');

exports.coolMethod = function (arg0, success, error) {
    exec(success, error, 'SerialPlugin', 'coolMethod', [arg0]);
};

exports.plus = function (arg0, arg1, success, error) {
    exec(success, error, 'SerialPlugin', 'plus', [arg0, arg1]);
};

exports.openSerial = function (arg0, arg1, arg2, success, error) {
    exec(success, error, 'SerialPlugin', 'openSerial', [arg0, arg1, arg2]);
};

